using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Ccr.Core;

namespace Ccr
{
    public static class Factory
    {
        public static readonly Dispatcher Dispatcher;
        public static readonly DispatcherQueue Queue;

        static Factory ()
	    {
            Factory.Dispatcher = new Dispatcher(Initializer.ThreadCount, "CcrThreadPool");
            Factory.Queue = new DispatcherQueue("CcrQueue", Factory.Dispatcher);
	    }
    }
}